import math

F=open('99base_exp.txt','r')
n=1
result=0

for line in F:
    a=int(line.split(',')[0])
    b=int(line.split(',')[1])
    if b*math.log(a)>result:
        result=b*math.log(a)
        print 'n=',n,'result=',result        
    n+=1
F.close()
